<div style="padding: 16px"><?

/* 
 * View implementation for the GmView controller
 */ 

$actions = explode(',', 'zone,action,character,spell,item,shop_item,race,user,news,news_comment');
?>DB:<ul><?
foreach($actions as $act)
{
  ?><li><a href="<?= actionUrl($act, 'gm', 'z=1') ?>"><?= strtoupper(substr($act, 0, 1)).substr($act, 1) ?></a> </li><?
}

?></ul>

Other:
<ul>
  <li><a href="<?= actionUrl('debug', 'default') ?>">Session Viewer</a></li>
  <li><a href="<?= actionUrl('notifications', 'gm') ?>">Notifications</a></li>
  <li><a href="<?= actionUrl('feedtemplates', 'gm') ?>">Feed Templates</a></li>
</ul></div>
Notifications per week: <?= $this->user->fb->api_client->admin_getAllocation('announcement_notifications_per_week') ?><br/>
<a href="gm/index/send/test">send a test notification</a>
<?
if ($_REQUEST['send'] != '')
{
  print_r($this->user->fb->api_client->notifications_send(array('597325803'), '<a href="http://apps.facebook.com/nerdquest/default/index">Popsickles of Nerdia</a>: test notification', 'app_to_user'));
}
?>